//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="PPODTLM")]
		public class PPODTLMEntity: EntityObject
		{


#region Field
				private	bool _ACCEPT_BIT=false;
				private	string _BUYER_CODE="";
				private	string _CCY_CODE="";
				private	string _COMP_CODE="";
				private	string _CTR_CODE="";
				private	string _DELY_CODE="";
				private	string _ITEM_NO="";
				private	string _PPO_DT="";
				private	string _PPO_DT_RMKS="";
				private	string _PPO_NO="";
				private	DateTime _PPO_REQ_DATE=DateTime.MinValue;
				private	decimal _PPO_REQ_QTY=0;
				private	decimal _PPO_UNIT_PRICE=0;
				private	decimal _PU_REQ_QTY=0;
				private	decimal _PU_UNIT_PRICE=0;
				private	string _PU_UOM_CODE="";
				private	Int32 _SERIAL_NO=0;
				private	string _UOM_CODE="";
				private	decimal _UOM_XCHG=0;
				private	string _VEN_CODE="";
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//PPODTLM,ACCEPT_BIT
				//</Summary>
				public bool ACCEPT_BIT
				{
					get { return _ACCEPT_BIT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACCEPT_BIT)
							{
								_ACCEPT_BIT = value; 
								this.PropertyChange("ACCEPT_BIT");
							}
						}else{
							_ACCEPT_BIT = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,BUYER_CODE
				//</Summary>
				public string BUYER_CODE
				{
					get { return _BUYER_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_BUYER_CODE)
							{
								_BUYER_CODE = value; 
								this.PropertyChange("BUYER_CODE");
							}
						}else{
							_BUYER_CODE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,CCY_CODE
				//</Summary>
				public string CCY_CODE
				{
					get { return _CCY_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_CCY_CODE)
							{
								_CCY_CODE = value; 
								this.PropertyChange("CCY_CODE");
							}
						}else{
							_CCY_CODE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,COMP_CODE
				//</Summary>
				public string COMP_CODE
				{
					get { return _COMP_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_COMP_CODE)
							{
								_COMP_CODE = value; 
								this.PropertyChange("COMP_CODE");
							}
						}else{
							_COMP_CODE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,CTR_CODE
				//</Summary>
				public string CTR_CODE
				{
					get { return _CTR_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_CTR_CODE)
							{
								_CTR_CODE = value; 
								this.PropertyChange("CTR_CODE");
							}
						}else{
							_CTR_CODE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,DELY_CODE
				//</Summary>
				public string DELY_CODE
				{
					get { return _DELY_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_DELY_CODE)
							{
								_DELY_CODE = value; 
								this.PropertyChange("DELY_CODE");
							}
						}else{
							_DELY_CODE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ITEM_NO
				//</Summary>
				public string ITEM_NO
				{
					get { return _ITEM_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ITEM_NO)
							{
								_ITEM_NO = value; 
								this.PropertyChange("ITEM_NO");
							}
						}else{
							_ITEM_NO = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,PPO_DT
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string PPO_DT
				{
					get { return _PPO_DT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PPO_DT)
							{
								_PPO_DT = value; 
								this.PropertyChange("PPO_DT");
							}
						}else{
							_PPO_DT = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,PPO_DT_RMKS
				//</Summary>
				public string PPO_DT_RMKS
				{
					get { return _PPO_DT_RMKS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PPO_DT_RMKS)
							{
								_PPO_DT_RMKS = value; 
								this.PropertyChange("PPO_DT_RMKS");
							}
						}else{
							_PPO_DT_RMKS = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,PPO_NO
				//</Summary>
				public string PPO_NO
				{
					get { return _PPO_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PPO_NO)
							{
								_PPO_NO = value; 
								this.PropertyChange("PPO_NO");
							}
						}else{
							_PPO_NO = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,PPO_REQ_DATE
				//</Summary>
				public DateTime PPO_REQ_DATE
				{
					get { return _PPO_REQ_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PPO_REQ_DATE)
							{
								_PPO_REQ_DATE = value; 
								this.PropertyChange("PPO_REQ_DATE");
							}
						}else{
							_PPO_REQ_DATE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,PPO_REQ_QTY
				//</Summary>
				public decimal PPO_REQ_QTY
				{
					get { return _PPO_REQ_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PPO_REQ_QTY)
							{
								_PPO_REQ_QTY = value; 
								this.PropertyChange("PPO_REQ_QTY");
							}
						}else{
							_PPO_REQ_QTY = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,PPO_UNIT_PRICE
				//</Summary>
				public decimal PPO_UNIT_PRICE
				{
					get { return _PPO_UNIT_PRICE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PPO_UNIT_PRICE)
							{
								_PPO_UNIT_PRICE = value; 
								this.PropertyChange("PPO_UNIT_PRICE");
							}
						}else{
							_PPO_UNIT_PRICE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,PU_REQ_QTY
				//</Summary>
				public decimal PU_REQ_QTY
				{
					get { return _PU_REQ_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PU_REQ_QTY)
							{
								_PU_REQ_QTY = value; 
								this.PropertyChange("PU_REQ_QTY");
							}
						}else{
							_PU_REQ_QTY = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,PU_UNIT_PRICE
				//</Summary>
				public decimal PU_UNIT_PRICE
				{
					get { return _PU_UNIT_PRICE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PU_UNIT_PRICE)
							{
								_PU_UNIT_PRICE = value; 
								this.PropertyChange("PU_UNIT_PRICE");
							}
						}else{
							_PU_UNIT_PRICE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,PU_UOM_CODE
				//</Summary>
				public string PU_UOM_CODE
				{
					get { return _PU_UOM_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PU_UOM_CODE)
							{
								_PU_UOM_CODE = value; 
								this.PropertyChange("PU_UOM_CODE");
							}
						}else{
							_PU_UOM_CODE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,SERIAL_NO
				//</Summary>
				public Int32 SERIAL_NO
				{
					get { return _SERIAL_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_SERIAL_NO)
							{
								_SERIAL_NO = value; 
								this.PropertyChange("SERIAL_NO");
							}
						}else{
							_SERIAL_NO = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,UOM_CODE
				//</Summary>
				public string UOM_CODE
				{
					get { return _UOM_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UOM_CODE)
							{
								_UOM_CODE = value; 
								this.PropertyChange("UOM_CODE");
							}
						}else{
							_UOM_CODE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,UOM_XCHG
				//</Summary>
				public decimal UOM_XCHG
				{
					get { return _UOM_XCHG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UOM_XCHG)
							{
								_UOM_XCHG = value; 
								this.PropertyChange("UOM_XCHG");
							}
						}else{
							_UOM_XCHG = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,VEN_CODE
				//</Summary>
				public string VEN_CODE
				{
					get { return _VEN_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VEN_CODE)
							{
								_VEN_CODE = value; 
								this.PropertyChange("VEN_CODE");
							}
						}else{
							_VEN_CODE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//PPODTLM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
